import React from 'react'
import {createHashRouter,RouteProps, RouterProvider} from 'react-router-dom'
import Home from './src/compont/Home'
import Login from './src/compont/Login/Login'
import ServerMoint from './src/compont/server/server'
export default function App() {
  return (

        <RouterProvider router={router}>

        </RouterProvider>


  )
}

const router= createHashRouter(
  [
    {
      path:'/',
      element:<Login></Login>
    },
    {
      path:'/home',
      element:<Home></Home>
    },
    {

        path:'/server',
        element:<ServerMoint></ServerMoint>

    }
  ]
)
